package com.union.vehicleassistant.http.api;

import com.google.gson.annotations.SerializedName;
import com.hjq.http.config.IRequestApi;

public class UpdateApi implements IRequestApi {
    @Override
    public String getApi() {
        return "oa/appVersionControl/latest";
    }

    public String type;

    public UpdateApi setType(String type) {
        this.type = type;
        return this;
    }

    public static class Bean {

        @SerializedName("remark")
        private String remark;
        @SerializedName("createBy")
        private String createBy;
        @SerializedName("createTime")
        private long createTime;
        @SerializedName("lastModifyBy")
        private String lastModifyBy;
        @SerializedName("lastModifyTime")
        private long lastModifyTime;
        @SerializedName("id")
        private int id;
        @SerializedName("versionName")
        private String versionName;
        @SerializedName("attach")
        private String attach;
        @SerializedName("fileName")
        private String fileName;
        @SerializedName("versionDetails")
        private String versionDetails;
        @SerializedName("createByName")
        private String createByName;

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public String getCreateBy() {
            return createBy;
        }

        public void setCreateBy(String createBy) {
            this.createBy = createBy;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public String getLastModifyBy() {
            return lastModifyBy;
        }

        public void setLastModifyBy(String lastModifyBy) {
            this.lastModifyBy = lastModifyBy;
        }

        public long getLastModifyTime() {
            return lastModifyTime;
        }

        public void setLastModifyTime(long lastModifyTime) {
            this.lastModifyTime = lastModifyTime;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getVersionName() {
            return versionName;
        }

        public void setVersionName(String versionName) {
            this.versionName = versionName;
        }

        public String getAttach() {
            return attach;
        }

        public void setAttach(String attach) {
            this.attach = attach;
        }

        public String getFileName() {
            return fileName;
        }

        public void setFileName(String fileName) {
            this.fileName = fileName;
        }

        public String getVersionDetails() {
            return versionDetails;
        }

        public void setVersionDetails(String versionDetails) {
            this.versionDetails = versionDetails;
        }

        public String getCreateByName() {
            return createByName;
        }

        public void setCreateByName(String createByName) {
            this.createByName = createByName;
        }

    }
}
